package com.jiuair.cloud.data.revenue.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jiuair.cloud.data.revenue.mybatis.base.entity.AbstractEntity2;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@TableName("usr_user")
@ApiModel(value="UsrUser对象", description="用户信息表")
public class UsrUser extends AbstractEntity2 {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Integer id;

    @ApiModelProperty(value = "用户名")

    private String userName;

    @ApiModelProperty(value = "原密码")
    private String passwd;

    @ApiModelProperty(value = "电话")
    private String mobile;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "创建日期")

    private LocalDate createTime;

    @ApiModelProperty(value = "状态")
    private String status;


    private Long channelId;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "新密码")
    private String password;


}
